﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.MF.Entity.ElsaEntity
{
    public class WorkflowDefinition
    {
        public string Id { get; set; } = default!;
        public string DefinitionId { get; set; } = default!;
        public string? Name { get; set; }
        public string? Description { get; set; }
        public string? ToolVersion { get; set; }
        public string? ProviderName { get; set; }
        public string MaterializerName { get; set; } = default!;
        public string? MaterializerContext { get; set; }
        public string? StringData { get; set; }
        public byte[]? BinaryData { get; set; }
        public bool IsReadonly { get; set; }
        public string? Data { get; set; }
        public bool? UsableAsActivity { get; set; }
        public DateTime CreatedAt { get; set; }
        public int Version { get; set; }
        public bool IsLatest { get; set; }
        public bool IsPublished { get; set; }
        public bool IsSystem { get; set; } = false;
        public string? TenantId { get; set; }
    }
}
